Statements and Functions > Graphic

Graphic

General Operation Statement

Syntax samples

Graphic <expression>

Graphic 2

Graphic Var1

Description

Changes the entity’s or resource’s current graphic. Entities and resources are assigned graphics from the graphics library in the Entity or Resource editor. Use the Graphic to show the result of a process. For example, when a customer sits down, the graphic could change from a standing person to a sitting person.

Valid In

When used in node entry, node exit, and resource-downtime logic, Graphic changes a resource’s graphic. When used in operation logic, move logic, and arrival logic, Graphic changes an entity’s graphic.

Components

<expression>

The number of the entity’s or resource’s new graphic.

Example

In the example below, EntA arrives at Loc1 for a two step operation. Upon arrival, the graphic icon of the entity changes to Graphic 2. After the first two minute processing time the icon changes to Graphic 3. Finally, the icon changes to Graphic 4 after the second two minute processing time. (The difference between the two graphics may only be color, but the two could be completely different.)

Process Table

Entity...

Location...

Operation (min)...

EntA

Loc1

Graphic 2

Wait 15 min

Graphic 3

Wait 25 min

Graphic 4

Routing Table

Blk

Output...

Destination...

Rule...

Move Logic...

1

EntA

Loc2

First 1

Move For 5

See Also

Entities and Resources.


 

© 2016 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com